package edu.cibertec.dao;

import edu.cibertec.dao.ComboDAO;

public abstract class DAOFactory {
public static final int MYSQL=1;
public static final int ORACLE=2;



public abstract CargarArchivoDAO getCargaArchivoDAO();
public abstract ComboDAO getComboDAO();

public static DAOFactory getDAOFactory(int whichFactory){

	switch(whichFactory){
	
	case MYSQL:
		return new SqlDAOFactory();
	default:
	return null;
	
	}
}
}

